Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 4 - Advanced Printing Features / Advanced Printing Features Reference
Functions / Working With Paper Types


GXGetNewPaperType

You can use the GXGetNewPaperType function to create a new paper-type object from a resource template.

gxPaperType GXGetNewPaperType (gxJob aJob,short resID);
aJob
A reference to the job object associated with the new paper-type object.
resID
The ID of the resource template.
function result
A reference to a paper-type object.
DESCRIPTION
The GXGetNewPaperType function creates a paper-type object in the same way that the GXNewPaperType function does, except that the title, the imageable area, and the paper size are defined in the resource identified by resID. The GXGetNewPaperType function associates the returned paper-type object reference with the aJob job object.

RESULT CODES
gxSegmentLoadFailedErrA required code segment could not be found, or there was not enough memory to load it.
collectionVersionErrThe version of the collection object is not compatible with the current version of the Collection Manager.
gxPaperTypeNotFoundThe paper-type object cannot be located.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help